﻿<Window x:Class="Interfaces.IUAgregarProducto"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Agregar un producto" Height="300" Width="288" ResizeMode="CanMinimize" Icon="/Interfaces;component/Images/Food.ico">
    <Grid Width="270" Background="#FFFF5F1A">
        <Label Content="Nuevo Producto" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" VerticalAlignment="Top" FontSize="14" FontWeight="Bold" />
        <Label Content="Nombre:" Height="28" HorizontalAlignment="Left" Margin="18,69,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Precio (Bs):" Height="28" HorizontalAlignment="Left" Margin="20,124,0,0" Name="label4" VerticalAlignment="Top" />
        <Label Content="Detalle:" Height="28" HorizontalAlignment="Left" Margin="20,0,0,76" Name="label5" VerticalAlignment="Bottom" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="88,69,0,0" Name="nombreTbx" VerticalAlignment="Top" Width="120" MaxLength="100" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="88,100,0,0" Name="comboBox1" VerticalAlignment="Top" Width="120" />
        <Label Content="Medida:" Height="28" HorizontalAlignment="Left" Margin="18,95,0,0" Name="label6" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="88,129,0,0" Name="precioTbx" VerticalAlignment="Top" Width="120" TextChanged="precioTbx_TextChanged" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="88,157,0,0" Name="detalleTbx" VerticalAlignment="Top" Width="120" />
        <Button Content="Aceptar" Height="23" HorizontalAlignment="Left" Margin="99,225,0,0" Name="agregarBtn" VerticalAlignment="Top" Width="75" Click="agregarBtn_Click" />
        <Label Height="28" HorizontalAlignment="Left" Margin="20,35,0,0" Name="errorLbl" VerticalAlignment="Top" Foreground="#FFEC0000" />
    </Grid>
</Window>
